﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<string>>" %>

Các dịch vụ:<br />

<script type="text/javascript">
    function SelectNameChange() {
        var id = $("#ServiceNames").val();
        GetContent("/Service/GetMethods?sid=" + id, "lstServiceMethod");
    }
</script>
<select name="ServiceNames" id="ServiceNames" size="4" onchange="SelectNameChange();" style="width:150px">
    
    <%int i = 0;
      foreach (var item in Model)
      {%>
          <option value="<%:i %>"><%:item %></option>
    <%i++;
      } %>    
</select>